//
//  GoodsControlTableViewController.m
//  HaiGoumerMerchant
//
//  Created by apple on 17/1/17.
//  Copyright © 2017年 com.zaoguankeji.www. All rights reserved.
//

#import "GoodsControlTableViewController.h"
#import "GoodControlTableViewCell.h"


static NSString *cellIndentify = @"GoodControlTableViewCell";

@interface GoodsControlTableViewController ()
@property(nonatomic, strong) NSMutableArray *dataArr;
@end


@implementation GoodsControlTableViewController
#pragma mark -----------dataArr-------------------懒加载;
- (NSMutableArray *)dataArr{
    if (!_dataArr) {
        self.dataArr = [NSMutableArray array];
    }
    
    return _dataArr;
}

- (void)viewDidLoad {
    [super viewDidLoad];
//    self.title = @"商品管理";
    self.dataArr = @[@"44",@"55"];
    [self configureGoodsControlTableViewControllerTableView];
}

- (void)configureGoodsControlTableViewControllerTableView {
    self.tableView.tableFooterView = [UIView new];



}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
#warning Incomplete implementation, return the number of sections
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
#warning Incomplete implementation, return the number of rows
    return self.dataArr.count > 0 ? self.dataArr.count : 0;
}


- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    GoodControlTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIndentify forIndexPath:indexPath];
    
    
    
    return cell;
}




@end
